home *** CD-ROM | disk | FTP | other *** search
/ BCI NET 2 / BCI NET 2.iso / archives / programming / amos / amoslist-0295.lzh / AMOSLIST / text0028.txt < prev    next >
Encoding:
Text File  |  1995-03-01  |  524 b   |  26 lines

  1. I have a problem with playing Iff anims. When I try and make them looping,
  2. ie play continous, a blank frame appears at the start of the loop. Can any
  3. one help?
  4.  
  5. Open In 1,"Any anim"
  6. L=Frame Load (1 to 1000)
  7. Close
  8.  
  9. Do
  10.      P=Frame Play(10,1,0)
  11.      Double Buffer
  12.      For X=2 to L-1
  13.           P=Frame Play(P,1)
  14.           Screen Swap
  15.           Wait Vbl:Wait Vbl:Wait Vbl
  16.      Next X
  17. Loop
  18.  
  19. I think it has somthing to do with the double buffering or physical and
  20. logical screens, but I'm not sure.
  21. Darryl
  22.  
  23. -- Via DLG Pro v1.0
  24.  
  25.  
  26.